package com.logistics.team3.po;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * Driver entity. @author MyEclipse Persistence Tools
 */

public class Driver  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      *司机
      */
     private Employee employee;
     /**
      *所在配送点
      */
     private Distribution distribution;
     /**
      *驾驶证编号
      */
     private String cardNumber;
     /**
      *驾驶证等级
      */
     private String carGrade;
     /**
      *状态
      */
     private Integer state;
     private Set dispatchs = new HashSet(0);
     private Set receipts = new HashSet(0);
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public Distribution getDistribution() {
		return distribution;
	}
	public void setDistribution(Distribution distribution) {
		this.distribution = distribution;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public String getCarGrade() {
		return carGrade;
	}
	public void setCarGrade(String carGrade) {
		this.carGrade = carGrade;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Set getDispatchs() {
		return dispatchs;
	}
	public void setDispatchs(Set dispatchs) {
		this.dispatchs = dispatchs;
	}
	public Set getReceipts() {
		return receipts;
	}
	public void setReceipts(Set receipts) {
		this.receipts = receipts;
	}
}